﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace myMvcBlog.Models
{
    public class PostView
    {
        public Post Post { get; set; }
        public IList<Category> Categories { get;set;}
        public IList<Tag> Tags { get;set;}
        public IList<Comment> Comments { get; set; }
        public AddCommentView AddComment { get;set;}
    }

    public class AddCommentView
    {
        public long PostId { get; set; }
        public string PostUrl { get; set; }
        public bool IsKnownUser { get; set; }
        public string User { get; set; }
        public string Email { get; set; }
        public string ImageSrc { get; set; }
    }
}